#include <iostream>
#include <vector>
#include <string>
using namespace std;

int compare(string version1, string version2)
{
    // write code here
    vector<int> v1;
    vector<int> v2;
    int sum = 0;
    for (int i = 0; i < version1.size(); i++)
    {
        if (version1[i] == '.')
        {
            v1.push_back(sum);
            sum = 0;
            continue;
        }
        int temp1 = version1[i] - '0';
        sum = sum * 10 + temp1;
    }
    v1.push_back(sum);
    sum = 0;
    for (int i = 0; i < version2.size(); i++)
    {
        if (version2[i] == '.')
        {
            v2.push_back(sum);
            sum = 0;
            continue;
        }
        int temp2 = version2[i] - '0';
        sum = sum * 10 + temp2;
    }
    v2.push_back(sum);
    int n = max(v1.size(), v2.size());
    while (v1.size() < n)
    {
        v1.push_back(0);
    }
    while (v2.size() < n)
    {
        v2.push_back(0);
    }
    for (int i = 0; i < n; i++)
    {
        if (v1[i] < v2[i])
        {
            return -1;
        }
        if (v1[i] > v2[i])
        {
            return 1;
        }
    }
    return 0;
}

int main()
{
    /*string s1 = "1.0";
    string s2 = "1.0.0";
    cout << compare(s1, s2) << endl;*/

    vector<int> a = { 534, 386, 319, 692, 169, 338, 521, 713, 640, 692, 969, 362, 311, 349, 308, 357, 515, 140, 591, 216,
57, 252, 575, 630, 95, 274, 328, 614, 18, 605, 17, 980, 166, 112, 997, 37, 584, 64, 442, 495,

821, 459, 453, 597, 187, 734, 827, 950, 679, 78, 769, 661, 452, 983, 356, 217, 394, 342, 697, 878,

475, 250, 468, 33, 966, 742, 436, 343, 255, 944, 588, 734, 540, 508, 779, 881, 153, 928, 764, 703,

459, 840, 949, 500, 648, 163, 547, 780, 749, 132, 546, 199, 701, 448, 265, 263, 87, 45, 828, 634
    };
    int sum = 0;
    for (int i = 0; i < a.size(); i++)
    {
        sum += a[i];
    }
    cout << sum-95 << endl;
    return 0;
}